/*
 * Copyright (c) 2023. li.siyuan All rights reserved.
 */

package com.yanfan.attach.mapper;


import com.yanfan.attach.domain.SysIdStrategy;

/**
 * @author lisiy
 * @description 针对表【sys_id_strategy(id生成策略表)】的数据库操作Mapper
 * @createDate 2023-02-16 18:50:26
 * @Entity com.lsy.system.domain.SysIdStrategy
 */
public interface SysIdStrategyMapper {

    SysIdStrategy selectIdStrategyByPrefix(String prefix);

    int updateSysIdStrategy(SysIdStrategy sysIdStrategy);

    /**
     * 仅允许重置今天以前的配置
     */
    int reset();
}
